package sshr.servicemodel;import java.util.Map;import java.util.HashMap;import sshr.eventmodel.BaseEvent;import sshr.eventmodel.EventHandler;import sshr.eventmodel.EventValidationException;public abstract class BaseService {	protected static Map _evtHandlers = new HashMap<String, EventHandler>();		protected <T extends BaseEvent> void fireEvent(T evt) throws EventValidationException {			EventHandler eh = (EventHandler)_evtHandlers.get( evt.getMyEventHandlerCode() );		eh.fireEvent( evt );	} }